﻿<UserControl x:Class="Undercover.View.Game.GuessControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="48"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot" Background="{StaticResource PhoneChromeBrush}">
        <TextBlock Text="现在开始猜词吧" VerticalAlignment="Top"/>
        <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <TextBlock Text="玩家角色" HorizontalAlignment="Center" Grid.ColumnSpan="2"/>
            <TextBlock Text="人：" Grid.Row="1"/>
            <TextBlock Text="{Binding MajorityIDs}" Grid.Row="1" Grid.Column="1"/>
            <TextBlock Text="傻子：" Grid.Row="2"/>
            <TextBlock Text="{Binding MinorityIDs}" Grid.Row="2" Grid.Column="1"/>
            <TextBlock Text="卧底：" Grid.Row="3"/>
            <TextBlock Text="{Binding AgentIDs}" Grid.Row="3" Grid.Column="1"/>
            <TextBlock Text="死亡：" Grid.Row="4"/>
            <TextBlock Text="{Binding DeadIDs}" Grid.Row="4" Grid.Column="1"/>
        </Grid>
        <Button Content="开始新游戏" VerticalAlignment="Bottom" 
                Command="{Binding GotoMainPageCommand}"
                Visibility="Collapsed"/>
    </Grid>
</UserControl>